<?php
/**
 * Author Yulin
 * Email  dwzhanglong@126.com
 * Date   2017-7-21
 * Func   会员中心
 */
defined('IN_YuLin') || exit('NO PERMIT!');
$seo['title'] = '大众彩票-交易中心';
$pageTitle    = '交易记录';
$navTag       = 'member';
$page         = 'member/bill';

UserLogin();
$userInfo     = $_user;
// 查询用户的充值记录
$rechargeTab  = Table('user_money_log');
$rechargeWhe  = ' WHERE uid = ' . $_uid;

$orderby       = ' ORDER BY id DESC ';
$rechargeList  = $db->getall('SELECT id, tid, lkey, balance, freeze, total, balance_old, freeze_old, total_old, dateline, ip, notes FROM '. $rechargeTab . $rechargeWhe . $orderby);

$tpl->display($page);